Skip to content

Local Secrets Logger #117

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 9 commits into from
Closed

Local Secrets Logger #117

wants to merge 9 commits into from

Conversation

expede
Copy link
Member

@expede expede commented Mar 31, 2025

Fixes #116

TL;DR right now Beelay uses a WAL for durability reasons, rather than the heavier operation of serialising to an keyhive_core::Archive. In the current Keyhive implementation, this means that we lose our own secrets if there's a crash. This PR adds a new listener on X25519 keypair generation.

@expede expede changed the base branch from main to decrypt-after-archive March 31, 2025 21:47
@expede
Copy link
Member Author

expede commented Apr 21, 2025

Leaving this open temporarily, but TL;DR this is a bad idea and I'm wrapping up a branch that makes tradeoffs that are way less scary (but now it needs some cherry-picking after the past PR)

@expede expede mentioned this pull request Apr 23, 2025
@expede
Copy link
Member Author

expede commented Apr 23, 2025

This was a bad approach. We knew that we wanted to use things like the WebCrypto API for non-extractable keys — abstracting over this allows people to hook logs and whatever else in (but to be crystal clear DO NOT LOG GENERATED PRIVATE KEYS)

@expede expede closed this Apr 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant